<template>
  <div class="test">
    vue组件 {{title}}
  </div>
</template>

<script>
  export default {
    name: '',
    data() {
      return {
        title:'webpack-vue-这里的vue单文件组件'
      }
    },
    mounted(){
      let test = ()=>{
        return 'es6 括号'
      }
    }
  }
</script>
<style lang="less">
 .test{
     color: red;
 }
 body{ 
  background: url(./../img/webpack-svg.svg);  
  display: flex;
}
div {
    border:4px solid #ccc;
    width: 50%;
    height: 200px;
    margin:30px auto;
    box-shadow: 3px 3px 3px #ccc;
    background-color: #fff;
    text-align: center; 
    background-image: url(./../img/webpack-png.png);
  }  
</style>